/* 整体页面布局和样式 */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

/* 用户信息栏样式 */
.user-info {
  background-color: #333;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.user-info p {
  margin: 10px;
  font-size: 18px;
}

.user-info span {
  font-weight: bold;
}

/* 表格样式 */
.learning-table {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.learning-table th,
.learning-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ccc;
}

.learning-table th {
  background-color: #007BFF;
  color: white;
  font-size: 16px;
}

.learning-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.learning-table button {
  padding: 8px 15px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.learning-table button:hover {
  background-color: #0056b3;
}

/* 调整表格列宽 */
.learning-table th:nth-child(1),
.learning-table td:nth-child(1) {
  width: 30%;
}

.learning-table th:nth-child(2),
.learning-table td:nth-child(2) {
  width: 20%;
}

.learning-table th:nth-child(3),
.learning-table td:nth-child(3) {
  width: 25%;
}

.learning-table th:nth-child(4),
.learning-table td:nth-child(4) {
  width: 25%;
}